﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DTO;
using Business;

namespace Presentation
{
    public partial class Form1 : Form
    {
        public void SetVisible()
        {
            toolStripMenuItem3.Visible = true;
            toolStripMenuItem2.Visible = true;
            toolStripMenuItem1.Visible = true;
        }
        public void SetInvisible()
        {
            toolStripMenuItem3.Visible = false;
            toolStripMenuItem2.Visible = false;
            toolStripMenuItem1.Visible = false;
        }
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
        }

        private void form2ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form2 frm2 = new Form2();
            frm2.MdiParent = this;
            frm2.Show();
        }

        private void form3ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form3 form3 = new Form3();
            form3.MdiParent = this;
            form3.Show();
        }
    }
}
